# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=accerciser
pkgver=3.36.2
pkgrel=0
pkgdesc="Interactive Python accessibility explorer"
url="https://wiki.gnome.org/Apps/Accerciser"
arch="noarch !s390x !mips !mips64" #librsvg
license="BSD-3-Clause"
depends="libwnck3 py3-gobject3 py3-atspi gtk+3.0 librsvg py3-xlib ipython"
makedepends="gtk+3.0-dev py3-gobject3-dev glib-dev at-spi2-core-dev itstool"
options="!check" # no tests
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/accerciser/${pkgver%.*}/accerciser-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="fb2ecb35826f1a868a8badcefcb4941258273bfc639996b8d4cecbd5d9700cb48e102891105842fcf3b0cb5f7a53df28de3283a80130d83695528db06ff0f268  accerciser-3.36.2.tar.xz"
